用户使用手册

EM-38air Control Demo程序支持本公司工控级语音播报器EM-38air，演示PC和播报器之间控制指令的收发。

1. 程序运行OS环境为 Windows 7 32/64位以上版本
2. 启动Demo程序前，请先将语音播报器EM-38air设备正确配置并连接到和PC统一网络地址范围（关于设备的IP设定请参阅产品说明书或联系本公司技术支持）。
3. 启动Demo程序，进行设备连接：
   3.1 在IP栏目填写EM-38air的IP和端口号。多次对同一个IP设备进行测试，可以在Demo程序所在目录的config.ini中的Settings项目填入IP和端口号。
   3.2 点击Connect按钮进行TCP连接。若此时Windows操作系统的防火墙提示Demo程序需要访问网络，请允许该操作。
4. Demo连接目标设备后，可选择两种演示模式：
   4.1 Fast Demo
       该模式下，Demo程序预置了8个快捷指令供用户选择，快捷指令可以对连接的EM-38air上前8条语音进行播放演示
   4.2 Instructions file demo
       该模式下，用户可以选择外部的指令文件，让Demo程序读取并发送到连接的EM-38air设备中进行演示。指令文件中每一条指令需单独一行，Demo程序处理文件中的指令的最大条数为10条，并且会自动每5秒执行下一条指令。在Demo程序所在目录已经有一份样例指令文件ins.txt可供用户直接选择用以演示，用户也可以根据产品说明书自行编辑指令文件。
5. Demo程序和设备之间传输的指令内容会显示在程序界面中供用户参考



User manual

The EM-38air Control Demo program supports our company's industrial-grade voice announcer EM-38air, it can demonstrates the sending and receiving of control commands between the PC and the announcer.

1. The operating system environment of the program is Windows 7 32/64-bit or above
2. Before starting the Demo program, please configure the voice announcer EM-38air device correctly and connect it to the same network address range as the PC (for the IP setting of the device, please refer to the product manual or contact our technical support).
3. Start the Demo program and connect the device:
    3.1 Fill in the IP and port number of EM-38air in the IP column. To test the same IP device multiple times, you can fill in the IP and port number in the Settings item in config.ini in the directory where the Demo program is located.
    3.2 Click the 'Connect' button to make a TCP connection to the announcer. If the firewall of the Windows operating system prompts that the Demo program needs to access the network, please allow this operation.
4. After Demo is connected to the announcer, there are two demo modes can choose from:
    4.1 Fast Demo
        In this mode, the Demo program presets 8 shortcut commands for users, and the shortcut commands can play the first 8 voices on the connected EM-38air
    4.2 Instructions file demo
        In this mode, the user can select an external instruction file, and let the Demo program read it and send it to the connected EM-38-air device for demonstration. Each instruction in the instruction file needs to be on a separate line. The maximum number of instructions in the Demo program processing file is 10, and the next instruction will be automatically executed every 5 seconds. There is already a sample instruction file ins.txt in the directory where the Demo program is located for users to directly select for demonstration, and users can also edit the instruction file by themselves according to the product manual.
5. The instruction content transmitted between the Demo program and the announcer will be displayed in the program interface for user reference